package com.mifengs.mall.ui.main;

import com.mifengs.commonbase.base.BasePresenter;
import com.mifengs.commonbase.base.BaseView;
import com.mifengs.mall.entity.BannerBean;
import com.mifengs.mall.entity.FloorBean;
import com.mifengs.mall.entity.GoodsBean;
import com.mifengs.mall.entity.HomeData;
import com.mifengs.mall.entity.MenuBean;
import com.mifengs.mall.entity.NoticeBean;
import com.mifengs.mall.entity.ScareBuyingBean;
import com.mifengs.mall.entity.StoreApplyInfo;

import java.util.List;
import java.util.Map;

/**
 * Created by lihaoqi on 2017/10/30.
 */

public interface HomeContract {

    interface View extends BaseView{
        void setData(HomeData data);
        void setTopBanner(List<BannerBean> bannerBeanList);
        void setMenu(List<MenuBean> menuBeanList);
        void setMidViewData(Map<String,Object> datas);
        void setFloors(List<FloorBean> floorList);
        void stopRefreshView();
        void showProgress();
        void hideProgress();
        void showNetError();
        void hideNetError();
        void startShopTypeActivity();
        void startOpenShopActivity(int type,int storeStatus, StoreApplyInfo info);
        void startLoginActivity();
    }

    interface Presenter extends BasePresenter {
        void getData(int type);
        void getApplyProgress();
        void getPhotoPath();
    }
}
